﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PBDesk.Business.FeedProvider;

namespace PBDesk.com.usercontrols.dashboard
{
    public partial class RSSFeeds : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Dictionary<int, string> list = FeedManager.GetChannelList();

            if (list != null)
            {
                ChannelList.DataSource = list;
                ChannelList.DataTextField = "Value";
                ChannelList.DataValueField = "Key";
                ChannelList.DataBind();
                   
            }
            





        }
    }
}